package prototype;


public class SimulationController {

    public static void stepSimulation () throws Exception {
        //NC instance lekerese
        NetworkController NC = NetworkController.getInstance();

       //generatorok leptetese
        NC.stepGenerators();

        //frissites inditasa
        NC.Update();

        //oscilloszkopok frissitese
        NC.stepOscilloscopes();

    }

    public static void resetSimulation () throws Exception {
        //NC instance lekerese
        NetworkController NC = NetworkController.getInstance();

        //reset
        NC.resetNetwork();

    }
}

